import request from '@/utils/request'

//获取首页淘客商品
export function recommendGoods(data) {
  return request({
    url: '/api/duomai/recommendGoods',
    method: 'post',
	data:data
  })
}
//淘客商品详情
export function detail(data) {
  return request({
    url: '/api/duomai/detail',
    method: 'post',
	data:data
  })
}
//转链 
export function cpsLink(data) {
  return request({
    url: '/api/duomai/cpsLink',
    method: 'post',
	data:data
  })
}
//商品分类 
export function goodsCate(data) {
  return request({
    url: '/api/duomai/goodsCate',
    method: 'post',
	data:data
  })
}
//商品列表
export function goods(data) {
  return request({
    url: '/api/duomai/goods',
    method: 'post',
	data:data
  })
}
// 商品搜索 
export function seachGoods(data) {
  return request({
    url: '/api/duomai/seachGoods',
    method: 'post',
	data:data
  })
}
//订单 
export function getOrders(data) {
  return request({
    url: '/api/duomai/getOrders',
    method: 'post',
	data:data
  })
}
//同步订单 
export function retrieveOrder(data) {
  return request({
    url: '/api/duomai/retrieveOrder',
    method: 'post',
	data:data
  })
}
//查询订单 
export function selectOrder(data) {
  return request({
    url: '/api/duomai/selectOrder',
    method: 'post',
	data:data
  })
}
